package ace.module.oauth2.server.core.impl.converter;

import ace.module.oauth2.server.core.impl.dao.entity.Oauth2Authorization;
import org.springframework.security.oauth2.server.authorization.OAuth2Authorization;
import org.springframework.security.oauth2.server.authorization.client.RegisteredClient;

/**
 * @author caspar
 * @date 2024/2/21 16:16
 */
public interface Oauth2AuthorizationToOAuth2AuthorizationConverter {
  OAuth2Authorization convert(Oauth2Authorization source, RegisteredClient registeredClient);
}
